]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix XDND regression
authorAdel Gadllah <adel.gadllah@gmail.com>
Sun, 17 Feb 2013 19:45:14 +0000 (20:45 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sun, 17 Feb 2013 19:52:00 +0000 (20:52 +0100)
The top_window_group blocks the panel elements from being found by the XDND
pick so hide the whole group from picks as we never attempt to pick its contents
anyway.

js/ui/layout.js

index d181bf6ac85d0fdddc80555c49af0fc3fd5983e2..edcb0e16a1d723a88f0d7cc1f8d2c9e7e496196a 100644 (file)
@@ -207,6 +207,11 @@ const LayoutManager = new Lang.Class({
         global.stage.remove_actor(global.top_window_group);
         this.uiGroup.add_actor(global.top_window_group);
 
+        // This blocks the XDND picks from finding the activities button
+        // and we never attempt to pick anything from it anyway so make
+        // it invisible from picks
+        Shell.util_set_hidden_from_pick(global.top_window_group, true);
+
         // Need to update struts on new workspaces when they are added
         global.screen.connect('notify::n-workspaces',
                               Lang.bind(this, this._queueUpdateRegions));